package com.qqtop10.manager.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.ui.ModelMap;

import com.qqtop10.manager.dao.BalanceMapper;
import com.qqtop10.manager.model.Balance;
import com.qqtop10.manager.model.PagingArgs;
import com.qqtop10.manager.service.BalanceService;

@Service("BalanceService")
public class BalanceServiceImpl extends BaseService implements BalanceService{
	@Autowired
	private BalanceMapper balanceMapper;
	@Override
	public List<Balance> all(Balance input,PagingArgs pagingArgs){
		return balanceMapper.all(asMap(input,pagingArgs));
	}
	@Override
	public int count(Balance input){
		return balanceMapper.count(input);
	}
	

}
